package com.levy.swrb.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "swrb")
@Data
public class SwrbProperties {

    /**
     * redis前缀
     */
    private String redisPrefix = "swrb:";

    /**
     * 节点列表最大长度
     */
    private int nodeListMaxSize = 100;

    /**
     * 节点最大权重
     */
    private int nodeMaxWeight = 100;

}
